# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=git-secret
pkgver=0.5.0
pkgrel=0
pkgdesc="A bash-tool to store your private data inside a git repository"
url="https://git-secret.io/"
arch="noarch"
license="MIT"
depends="bash gawk gnupg"
checkdepends="bats"
subpackages="$pkgname-doc"
source="https://github.com/sobolevn/git-secret/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
options="!check"  # does not work in a container w/o tty

build() {
	make
}

check() {
	make test -j1
}

package() {
	make PREFIX="$pkgdir/usr" install
}

sha512sums="
c685ee4d7b7d247c37805fc3a16c431eff7f6740899d65f9178514b99e84ff83cb59330e6fb73da627f00bb60d0cca76da8b31004fcc3926dcee3fed15d65b85  git-secret-0.5.0.tar.gz
"
